<template>
  <el-container>
    <el-header>
      <nav class="nav-header">
        <router-link to="/" class="logo">
          拓扑图展示系统
        </router-link>
      </nav>
    </el-header>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.nav-header {
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
}

.logo {
  font-size: 20px;
  color: #409EFF;
  text-decoration: none;
  font-weight: bold;
}

.el-main {
  padding: 20px;
  background-color: #f5f7fa;
  min-height: calc(100vh - 60px);
}
</style>
